<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Twig_Template</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/AbstractClass_logo.png"
														alt="Abstract Class"
														title="Abstract Class"
														style="vertical-align: middle"> Twig_Template</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
                <p class="implements">
            Implements interfaces:
            <ul>
                <li><a href="../twig/Twig_TemplateInterface.html">Twig_TemplateInterface</a></li>            </ul>
        </p>
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Default base class for compiled templates.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Fabien Potencier &lt;<a href="mailto:fabien.potencier@symfony-project.com">fabien.potencier@symfony-project.com</a>&gt;</li>
				<li><span class="field">abstract:</span> </li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_slinks---common---external---Twig---Template.php.html">/slinks/common/external/Twig/Template.php</a> (line <span class="field">19</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"
								 style="vertical-align: center"/>
						<a href="../twig/__TwigTemplate_bd1070918e2a87acbd16f149392749e7.html">__TwigTemplate_bd1070918e2a87acbd16f149392749e7</a>
					</td>
					<td>
											Default base class for compiled templates.
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																				<div class="var-title">
					<img src="../media/images/StaticVariable.png" alt=" " />
					static <span class="var-type">mixed</span>
					<a href="#$cache" title="details" class="var-name">$cache</a>
				</div>
																												<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$blocks" title="details" class="var-name">$blocks</a>
				</div>
																								<div class="var-title">
					<img src="../media/images/Variable.png" alt=" " />
					<span class="var-type">mixed</span>
					<a href="#$env" title="details" class="var-name">$env</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendants</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																								<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">Twig_Template</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type"><a href="../twig/Twig_Environment.html">Twig_Environment</a></span>&nbsp;<span class="var-name">$env</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#displayBlock" title="details" class="method-name">displayBlock</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$context</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$blocks</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#displayParentBlock" title="details" class="method-name">displayParentBlock</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$context</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$blocks</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getAttribute" title="details" class="method-name">getAttribute</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$item</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$arguments</span> = <span class="var-default">array()</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">Twig_Node_Expression_GetAttr::TYPE_ANY</span>], [<span class="var-type">Boolean</span>&nbsp;<span class="var-name">$noStrictCheck</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">array</span>
										<a href="#getBlockNames" title="details" class="method-name">getBlockNames</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#getContext" title="details" class="method-name">getContext</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$context</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$item</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$line</span> = <span class="var-default">-1</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">3</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../twig/Twig_Environment.html">Twig_Environment</a></span>
										<a href="#getEnvironment" title="details" class="method-name">getEnvironment</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../twig/Twig_TemplateInterface.html">Twig_TemplateInterface</a>|false</span>
										<a href="#getParent" title="details" class="method-name">getParent</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$context</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#getTemplateName" title="details" class="method-name">getTemplateName</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">Boolean</span>
										<a href="#hasBlock" title="details" class="method-name">hasBlock</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#render" title="details" class="method-name">render</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$context</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#renderBlock" title="details" class="method-name">renderBlock</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$context</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$blocks</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">string</span>
										<a href="#renderParentBlock" title="details" class="method-name">renderParentBlock</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$context</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$blocks</span> = <span class="var-default">array()</span>])
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$cache" id="$cache"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			static <span class="var-type">mixed</span>
			<span class="var-name">$cache</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">21</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>

<a name="var$blocks" id="$blocks"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$blocks</span>
						(line <span class="line-number">24</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$env" id="$env"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<img src="../media/images/Variable.png" />
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$env</span>
						(line <span class="line-number">23</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">31</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Twig_Template</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type"><a href="../twig/Twig_Environment.html">Twig_Environment</a></span>&nbsp;<span class="var-name">$env</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../twig/Twig_Environment.html">Twig_Environment</a></span>
				<span class="var-name">$env</span><span class="var-description">: A Twig_Environment instance</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddisplayBlock" id="displayBlock"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">displayBlock</span> (line <span class="line-number">90</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Displays a block.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			displayBlock
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$context</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$blocks</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The block name to display</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$context</span><span class="var-description">: The context</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$blocks</span><span class="var-description">: The current set of blocks</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddisplayParentBlock" id="displayParentBlock"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">displayParentBlock</span> (line <span class="line-number">74</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Displays a parent block.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			displayParentBlock
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$context</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$blocks</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The block name to display from the parent</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$context</span><span class="var-description">: The context</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$blocks</span><span class="var-description">: The current set of blocks</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetAttribute" id="getAttribute"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getAttribute</span> (line <span class="line-number">209</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the attribute value for a given array/object.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getAttribute
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$object</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$item</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$arguments</span> = <span class="var-default">array()</span>], [<span class="var-type">integer</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">Twig_Node_Expression_GetAttr::TYPE_ANY</span>], [<span class="var-type">Boolean</span>&nbsp;<span class="var-name">$noStrictCheck</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$object</span><span class="var-description">: The object or array from where to get the item</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$item</span><span class="var-description">: The item to get from the array or object</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$arguments</span><span class="var-description">: An array of arguments to pass if the item is an object method</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$type</span><span class="var-description">: The type of attribute (@see Twig_Node_Expression_GetAttr)</span>			</li>
					<li>
				<span class="var-type">Boolean</span>
				<span class="var-name">$noStrictCheck</span><span class="var-description">: Whether to throw an exception if the item does not exist ot not</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetBlockNames" id="getBlockNames"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getBlockNames</span> (line <span class="line-number">154</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns all block names.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An array of block names</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getBlockNames
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetContext" id="getContext"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getContext</span> (line <span class="line-number">191</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a variable from the context.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Twig_Error_Runtime if the variable does not exist</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getContext
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$context</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$item</span>, [<span class="var-type">integer</span>&nbsp;<span class="var-name">$line</span> = <span class="var-default">-1</span>], <span class="var-type">mixed</span>&nbsp;<span class="var-name">3</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$context</span><span class="var-description">: The context</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$item</span><span class="var-description">: The variable to return from the context</span>			</li>
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$line</span><span class="var-description">: The line where the variable is get</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">3</span><span class="var-description">: The variable value in the context</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetEnvironment" id="getEnvironment"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getEnvironment</span> (line <span class="line-number">52</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the Twig environment.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The Twig environment</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../twig/Twig_Environment.html">Twig_Environment</a></span>
		<span class="method-name">
			getEnvironment
		</span>
				()
			</div>
	
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../twig/Twig_TemplateInterface.html#methodgetEnvironment">Twig_TemplateInterface::getEnvironment()</a></dt>
						<dd>Returns the bound environment for this template.</dd>
					</dl>
			
	</div>
<a name="methodgetParent" id="getParent"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getParent</span> (line <span class="line-number">62</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the parent template.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The parent template or false if there is no parent</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../twig/Twig_TemplateInterface.html">Twig_TemplateInterface</a>|false</span>
		<span class="method-name">
			getParent
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$context</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$context</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetTemplateName" id="getTemplateName"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">getTemplateName</span> (line <span class="line-number">42</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the template name.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The template name</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getTemplateName
		</span>
				()
			</div>
	
		
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../twig/__TwigTemplate_bd1070918e2a87acbd16f149392749e7.html#methodgetTemplateName">__TwigTemplate_bd1070918e2a87acbd16f149392749e7::getTemplateName()</a>
							</li>
				</ul>
	</div>
<a name="methodhasBlock" id="hasBlock"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">hasBlock</span> (line <span class="line-number">144</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns whether a block exists or not.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the block exists, false otherwise</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Boolean</span>
		<span class="method-name">
			hasBlock
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The block name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrender" id="render"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">render</span> (line <span class="line-number">166</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renders the template with the given context and returns it as string.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The rendered template</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			render
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$context</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$context</span><span class="var-description">: An array of parameters to pass to the template</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../twig/Twig_TemplateInterface.html#methodrender">Twig_TemplateInterface::render()</a></dt>
						<dd>Renders the template with the given context and returns it as string.</dd>
					</dl>
			
	</div>
<a name="methodrenderBlock" id="renderBlock"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">renderBlock</span> (line <span class="line-number">129</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renders a block.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The rendered block</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			renderBlock
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$context</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$blocks</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The block name to render</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$context</span><span class="var-description">: The context</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$blocks</span><span class="var-description">: The current set of blocks</span>			</li>
				</ul>
		
			
	</div>
<a name="methodrenderParentBlock" id="renderParentBlock"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">renderParentBlock</span> (line <span class="line-number">112</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Renders a parent block.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The rendered block</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			renderParentBlock
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$context</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$blocks</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The block name to render from the parent</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$context</span><span class="var-description">: The context</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$blocks</span><span class="var-description">: The current set of blocks</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Thu, 21 Jul 2011 00:29:08 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>